package cn.dhnapplets.mapper;



import cn.dhnapplets.entity.tbOrderItem;
import org.apache.ibatis.annotations.Param;

/**
 * @Author 邱文彬
 * @Date 2021/11/17 9:52
 * @Version 1.0
 */

public interface HorsemanOrderMapper {
    Integer getOrderId(@Param("startTime") String startTime,@Param("finishTime") String finishTime, @Param("openId") String openId);
    tbOrderItem getHorsemanToday(@Param("amount") Integer amount, @Param("startTime") String startTime, @Param("finishTime")String finishTime, @Param("openId")String openId);

    tbOrderItem getHorsemanThisWeek();

    tbOrderItem getHorsemanThisMonth();     

    tbOrderItem getHorsemanThisYear();

    tbOrderItem getHorsemanTodayNo(@Param("amount")Integer amount,@Param("startTime") String startTime,@Param("finishTime") String finishTime, @Param("openId")String openId);
}
